Page {
  background-color: rgba(0, 0, 0, 0.055);
}

.course-container {
  display: flex;
  justify-self: center;
  align-items: center;
  margin: 20rpx;
  background-color: #fff;
  border-radius: 20rpx;

  .course-img {
    display: inline-block;
    width: 100rpx;
    height: 100rpx;
    margin: auto 20rpx;
    border-radius: 10rpx;
  }

  text {
    line-height: 40rpx;
    margin: 20rpx 0rpx;
  }

  view {
    overflow: hidden;
    width: 500rpx;
    height: auto;
  }

  .course-title {
    font-weight: 600;
    display: block;
    font-size: 16px;
  }

  .course-teacher {
    color: rgba(0, 0, 0, 0.4);
    text-overflow: ellipsis;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;

    font-weight: 500;
    display: block;
  }
}